package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	//定义二维数组
	var arr [3][4]int

	// 赋值
	rand.Seed(time.Now().Unix())
	for i := 0; i < 3; i++ {
		for j := 0; j < 4; j++ {
			arr[i][j] = rand.Intn(100)
		}
	}

	fmt.Println(arr)
}
